package com.cloudkinto.service.platform;

import javax.servlet.http.HttpServletResponse;
import java.util.Map;
import java.util.concurrent.CompletableFuture;

public interface PlatformOrderExportService {

    Long requestExport(Map<String, Object> map);

    void downloadExportFile(String taskId, HttpServletResponse response);

    CompletableFuture<Void> exportAsync(Map<String, Object> map, Long taskId);
}
